package com.yhk.wuchat.common.common.constant;

/**
 * @version 1.0
 * @Author moresuo
 * @Date 2024/4/6 17:02
 * @注释
 */

/**
 * redis的key
 */
public class RedisKey {
    private static final String BASE_KEY = "wuchat:chat";
    /**
     * 用户登录token
     */
    public static final String USER_TOKEN_STRING = "userToken:uid_%d";
    public static String getKey(String key,Object... o){
        return BASE_KEY+String.format(key,o);
    }
}
